



<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'fcBaja', 'error')} required">
	<label for="fcBaja">
		<g:message code="afiliado.fcBaja.label" default="Fc Baja" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="fcBaja" precision="day"  value="${afiliadoInstance?.fcBaja}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'fcIngreso', 'error')} required">
	<label for="fcIngreso">
		<g:message code="afiliado.fcIngreso.label" default="Fc Ingreso" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="fcIngreso" precision="day"  value="${afiliadoInstance?.fcIngreso}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'idAfiliado', 'error')} required">
	<label for="idAfiliado">
		<g:message code="afiliado.idAfiliado.label" default="Id Afiliado" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="idAfiliado" type="number" value="${afiliadoInstance.idAfiliado}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'nuCodigoAfiliado', 'error')} ">
	<label for="nuCodigoAfiliado">
		<g:message code="afiliado.nuCodigoAfiliado.label" default="Nu Codigo Afiliado" />
		
	</label>
	<g:textField name="nuCodigoAfiliado" value="${afiliadoInstance?.nuCodigoAfiliado}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'nuNumeroAfiliado', 'error')} ">
	<label for="nuNumeroAfiliado">
		<g:message code="afiliado.nuNumeroAfiliado.label" default="Nu Numero Afiliado" />
		
	</label>
	<g:textField name="nuNumeroAfiliado" value="${afiliadoInstance?.nuNumeroAfiliado}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'nuSubCodigoAfiliado', 'error')} ">
	<label for="nuSubCodigoAfiliado">
		<g:message code="afiliado.nuSubCodigoAfiliado.label" default="Nu Sub Codigo Afiliado" />
		
	</label>
	<g:textField name="nuSubCodigoAfiliado" value="${afiliadoInstance?.nuSubCodigoAfiliado}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: afiliadoInstance, field: 'persona', 'error')} required">
	<label for="persona">
		<g:message code="afiliado.persona.label" default="Persona" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="persona" name="persona.id" from="${Persona.list()}" optionKey="id" required="" value="${afiliadoInstance?.persona?.id}" class="many-to-one"/>
</div>

